<template>
	<!-- 404页面 -->
	<view>
		<view class="error flex-c" @click="fnToHome()">
			<image src="../../../static/common/404miss.png"></image>
			<text>抱歉页面走丢了，点击回<text style="color: #F22F29;">首页</text>~</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			fnToHome(){
				uni.switchTab({
					url:'../../index/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.error{
		position: absolute;
		top: 20%;
		left: 50%;
		flex-direction: column;
		transform: translateX(-50%);
		font-size: 26rpx;
		color: #999;
		image{
			width: 400rpx;
			height: 220rpx;
			margin-bottom: 32rpx;
		}
	}
</style>
